﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Data.SqlServerCe;

namespace AlumnesBD
{
    static class Program
    {
        /// <summary>
        /// Punto de entrada principal para la aplicación.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

           // testCase();
        }

        static void testCase()
        {
            //Inserir alumne a la Bd.
           /* AlumneConversor p = new AlumneConversor();
            p.Nom = "Xevi";
            p.Cognom = "Terradellas";
            p.ID = 4;
            p.save();

            AlumneConversor p1 = new AlumneConversor();
            p.Nom = "Albert";
            p.Cognom = "Terradellas";
            p.ID = 5;
            p.save();
            * */
            /*
            AlumneConversor P = new AlumneConversor();
            P.ID = 4;
            P.load();

            Console.WriteLine("Alumne: {0}, {1} amb ID {2}",
                P.Nom, P.Cognom, P.ID);
            Console.ReadKey();*/
        }
    }
}
